package any;

class Parent2{
	public static int a = 3;
	
	static {
		System.out.println("Parent2 static block");
	}
}

class Child2 extends Parent2{
	public static int b = 4;
	
	static {
		System.out.println("Child2 static block");
	}
}

public class InitTest3 {
	static {
		System.out.println("InitTest3 static block");
	}
	
	public static void main(String[] args) {
		Parent2 parent;
		System.out.println("---------------------------");
		parent = new Parent2();
		
		//System.out.println(parent.a);
		System.out.println(Child2.b);
	}
}
